import React from 'react';
import { useParams } from 'react-router-dom';

export default function Friend() {
  /*  2. 通过useParams获取动态参数 */
  const params = useParams();
  console.log('params  ----->  ', params);

  return <div>朋友</div>;
}
